<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PixsterViewModel>" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
	Pixter - <%= Model.CurrentDirectory.Name%> - <%= Model.CurrentAlbum.Name%> - <%= Model.CurrentPhoto != null ? Model.CurrentPhoto.SeoName : string.Empty%>
</asp:Content>

<asp:Content ID="indexScript" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>

<asp:Content ID="indexStyle" ContentPlaceHolderID="StyleContent" runat="server">
    <link href="<%= Url.Stylesheet("gallery-style.css")%>" rel="stylesheet" type="text/css"/>
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">

        <div id="primary_content"><% if (Model != null && Model.CurrentPhoto != null) { %>
            <div id="main-content">
                <div id="fullplate-photo">
                    <a href="<%= Url.NextPhoto(Model) %>" title="<%= Model.CurrentPhoto.Title %>"><img src="<%= Model.CurrentPhoto.DisplayImagePath %>" alt="<%= Model.CurrentPhoto.Title %>" /></a>
                </div>
            </div><% } %>
        </div>
</asp:Content>